from django.urls import path
from rest_framework.routers import SimpleRouter

from .views import static_serve,RunResultViewSet

router = SimpleRouter()
router.register("run_result",RunResultViewSet)

urlpatterns = [
    path('static/<path:path>', static_serve, {"document_root":'upload_yaml'}),
]

urlpatterns += router.urls